<template>
  <div>
    <nuxt-link to="/test">news1</nuxt-link>
    <nuxt-link :to="{name: 'news', params:{id:33306}}">news2</nuxt-link>
    <nuxt-link :to="{name: 'news', query:{id:54}}">news3</nuxt-link>
  </div>
</template>

<script>
export default {
  head(){ // 页面单独设置head信息
    return{
      title: '单独设置head信息',
      meta:[
        {hid:'bbb',name:'news1',content:'this is news page'}
      ]

    }
  }
  
};
</script>

<style>
</style>